package com.linkoog.devtools.http.everywhere;

import com.intellij.ide.actions.SearchEverywhereBaseAction;
import com.intellij.openapi.actionSystem.ActionUpdateThread;
import com.intellij.openapi.actionSystem.AnActionEvent;
import com.intellij.openapi.project.DumbAware;
import com.linkoog.devtools.http.everywhere.DocSearchContributor;

public class DocSearchEveryWhereAction extends SearchEverywhereBaseAction implements DumbAware {

    @Override
    public void actionPerformed(AnActionEvent e) {
        showInSearchEverywherePopup(DocSearchContributor.SEARCH_PROVIDER_ID, e, true, false);
    }

    @Override
    public ActionUpdateThread getActionUpdateThread() {
        return ActionUpdateThread.BGT;
    }
}